<template>
  <div id="app">
    <el-container>
      <el-header><i class="el-icon-edit"></i>    Something System</el-header>
      <el-container>
        <el-aside width="150px"><NavComponent></NavComponent></el-aside>
        <router-view></router-view>
      </el-container>
    </el-container>
  </div>
</template>

<style>
#app{
  height: 100%;
  width: 100%;
  background-color: #FAFAFA;
  position: fixed;
}
.el-container{
  height: 100%;
}
*{
  margin: 0;
  padding: 0;
  //border: 1px solid red;
}
.el-header {
  background-color: #B3C0D1;
  color: #333;
  text-align: left;
  line-height: 60px;
}

.el-aside {

  color: #333;
  text-align: center;
}

.el-main {
  background-color: #E9EEF3;
  color: #333;
  text-align: center;
  line-height: 160px;
}


</style>
<script setup>
import NavComponent from "@/components/nav/NavComponent.vue";
</script>
